package com.aim.analysis.records;

import com.aim.util.extractors.ValueExtractor;

/**
 * User: Avraham Shvartzon
 * Date: 6/24/14
 */
public class DynaValueExtractor extends ValueExtractor<String,Double> {

    protected DynaValueExtractor(String name) {
        super(name);
    }

    public DynaValueExtractor(){
        super("noName");
    }

    @Override
    public Double getValue(String str) {
        return 1d * str.length();
    }
}
